package cn.tedu.spring.auto;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestUserCache {
    public static void main(String[] args) {
        ApplicationContext ac = new AnnotationConfigApplicationContext
                ("cn.tedu.spring.auto");
        UserCatche userCatche = ac.getBean(UserCatche.class);
        System.out.println(userCatche);
    }
}
